import request from "@/utils/request";

export default {
  getCoursePublishInfoById(id) {
    return request({
      url: `/eduservice/edu-course/publish-info/${id}`,
      method: "get"
    });
  },
  publishCourse(id) {
    return request({
      url: `/eduservice/edu-course/publish-course/${id}`,
      method: "put"
    });
  }
};
